package com.york.tinyrpc.protoss;

import com.york.tinyrpc.protoss.springboot.startert.annotation.EnableTinyRpc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 消费放不需要启动服务
 */
@SpringBootApplication
@EnableTinyRpc(needServer = false)
public class ExampleSpringbootConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ExampleSpringbootConsumerApplication.class, args);
    }
}
